package com.zifeng.feign;

import com.zifeng.common.R;
import com.zifeng.feign.fallback.BlockFeignClientFallback;
import com.zifeng.pojo.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "block-service", fallback = BlockFeignClientFallback.class)
public interface BlockFeignClient {
    @PostMapping("/mine")
    public R mine(Order order);
}
